<me:UIPRG x:Class="WPFExcelReport.TSPRG"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                     xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT" 
                    xmlns:FN="clr-namespace:WPFExcelReport;assembly=TICC_FUNCTIONS" 
                    x:Name="TV"
                    FontSize="14"
                    Loaded="Window_Loaded"
     >
    <me:UIPRG.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:NOTConverter  x:Key="not"/>
    </me:UIPRG.Resources>
    <WrapPanel>
        <ComboBox 
            DropDownOpened="ComboBox_DropDownOpened" 
          IsEditable="True" 
          Width="100" 
          SelectedValuePath="KEY" 
          DisplayMemberPath="KEY"
          ItemsSource="{Binding Source={StaticResource vwMaster}}" 
          IsSynchronizedWithCurrentItem="True" 
        >
        </ComboBox  > 
        <FN:TSFUC
            IsEnabled="False"
            ORDERNUM="{Binding KEY,ElementName=TV}"
            />
    </WrapPanel>
</me:UIPRG>
